//
//  LCUtils.h
//  JKBiblicalReading
//
//  Created by admin on 2018/8/16.
//  Copyright © 2018年 LC. All rights reserved.
//

#import <Foundation/Foundation.h>

@class LSZNewAudioHomepageManager;//lcListPlay
@class LSZNewAudioHomepageMg;
@class LSZSongCollectionListMg;
@class LSZAudioMg;
@class LSZNewAudioPlayImageAndTableViewVC;

@interface LCUtils : NSObject

@property (nonatomic,strong) UILabel *showNumTextLabel;//文本框字数限制提示字数
@property (nonatomic, copy) void(^composeEditBlock)(void);//检测文本改变

- (void)textFiledEditChangedWithTextField:(UITextView *)textField;
///检测文本改变
- (void)textFiledComposeEditChanged;

+ (NSString *)getTagWithNotesContentArr:(NSArray *)notesContentArr shengJingTitle:(NSString *)shengJingTitle;

+ (NSString *)lcGetThePreviousTimeWithGetTime:(NSString *)getTime;
///判断有没有网络
+ (Boolean)checkReachability;
///自定义窗的 背景是灰白色，字是黑色 无图片
+ (void)showHud2:(NSString *)str;

///动态列表播放
+ (void)lcListPlayWithLSZNewAudioHomepageManager:(LSZNewAudioHomepageManager *)manager;
//动态和音频界面跳到专辑和歌曲
+(void)albumArtistDetailsInterfaceJump:(LSZNewAudioPlayImageAndTableViewVC *)vc audioMg:(LSZNewAudioHomepageMg*)audioMg typeComeWhere:(NSString *)typeComeWhere;
//音频更多界面跳到专辑和歌曲的 
+(void)moveAlbumArtistDetailsInterfaceJump:(LSZNewAudioPlayImageAndTableViewVC *)vc audioMg:(LSZAudioMg*)audioMg typeComeWhere:(NSString *)typeComeWhere;
//音频收藏的地方跳到专辑和歌曲
+(void)collectionAlbumArtistDetailsInterfaceJump:(LSZNewAudioPlayImageAndTableViewVC *)vc audioMg:(LSZSongCollectionListMg*)audioMg typeComeWhere:(NSString *)typeComeWhere;
/**增加侧滑返回,无其他作用*/
+ (void)lcAddSideLeftView:(UIView *)view;
///封装的文章登录提示
+ (void)setupLoginPromptWithAddSubview:(UIView *)view login:(void (^)(UILabel *loginLabel,UIView *loginView))loginBlock;
///系统更多分享
+ (void)openOSMoreWithWebLink:(NSString *)webLink title:(NSString *)title text_image:(UIImage *)text_image;
///截屏分享
+ (void)shotBlock:(UIImage *)screenshot
          success:(void (^)(NSInteger type))successBlock
           hidden:(void (^)(void))hiddenBlock;
/// 自适应图片高度
+ (CGFloat)picValueToFitValueForNum:(CGFloat)num;
///改变UIButton文字的对其方式
+ (void)didChangeButtonLeftForAlignment:(UIButton *)button;

@end
